component {
	function persistSelection() {
		var local = {};
		local.itemType = listFirst(request.action,'.');
		local.viewType = listLast(request.action,'.');
		//persist the item/category type selection
		if (listfindnocase('tornado,avalanche,tropicalstorm,flood,wildfire',local.itemType) gt 0){
			session.itemType = local.itemType;
			//persist the view type selection
			if (listfindnocase('list,chart,map',local.viewType) gt 0){
				session.viewType = local.viewType;
				//persist the date range selection
				/*if(structKeyExists(request.context,'from'))
					session.from = request.context.from;
				if(structKeyExists(request.context,'to'))
					session.to = request.context.to;*/

			}
			else{
				session.viewType = 'list';
			}
		}
	}
}